package controller.entity;

/**
 * 用于传输combobox所需数据格式类型
 * combobox需要如下格式的数据：
    [{"id":1,"text":"text1"},{"id":2,"text":"text2"}....]
 */
public class Combobox {
    private Long id;
    private String text;

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getText() {
        return text;
    }

    public void setText(String text) {
        this.text = text;
    }

    public Combobox() {
    }

    @Override
    public String toString() {
        return "Combobox{" +
                "id=" + id +
                ", text='" + text + '\'' +
                '}';
    }
}
